#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <UIKit/CDStructures.h>
#import <UIKit/UIControl.h>

@interface FDDiePushButton : UIPushButton {
	int			_animCount;
	int			value;
	BOOL		held;
}

- (id)initWithFrame:(struct CGRect)frame;
- (void)updateWithValue:(int)val;
- (UIImage *)dieImageWithValue:(int)val downImage:(BOOL)down;

- (void)roll;
- (void)newDie;
- (int)value;
- (void)setValue:(int)val;
- (BOOL)held;
- (void)setHeld:(BOOL)newHeld;
@end